package com.cw.jeeyt.common.enums;

/**
 * Define the entity type of cache.
 *
 * @author guohb
 */
public enum EnumCacheEntityType {
    ORGANIZATION("organizationCache_"),
    URL_ROLE("urlRoleCache_"),
    SESSION_USER("sessionUserCache_"),
    USER_ROLES("userRolesCache_"),
    ROLE_OPERATION("roleOperationCache_"),
    USER_ORGANIZATION("userOrganizationCache_"),
    SYS_CACHE("sysCache_"),
    RES_CACHE("resourceCache_");
    /**
     * The key of the cache.
     */
    private String cacheKey;

    EnumCacheEntityType(String cacheKey) {
        this.cacheKey = cacheKey;
    }

    public String getCacheKey() {
        return cacheKey;
    }

}
